<template>
	<oneListVue :list="list" @change="$emit('change',$event)"></oneListVue>
</template>

<script>
	import oneListVue from './oneList.vue'
	import {
		shopCate
	} from '@/API/business.js'
	export default {
		components:{
			oneListVue
		},
		data() {
			return {
				list: [],
			}
		},
		mounted() {
			this.getList()
		},
		methods: {
			getList() {
				shopCate().then(res => {
					this.list = res.data
				})
			},
		}
	}
</script>